package com.tenbit.tbw.vo;

import java.math.BigDecimal;

import org.springframework.web.multipart.MultipartFile;

/* 상품 목록 및 상품상세 정보 포함한 vo*/
public class PDT1010VO {
	private int productNumber=0;							//상품번호 
	private String productCode=null;						//상품코드
	private String productName=null; 						//상품명
	private String itemCode=null;							//품목코드
	private String itemName=null;							//품목명
	private String companyCode=null;						//제조사코드			
	private String companyName=null;						//제조사명
	private String categoryCode=null;						//카테고리코드
	private String categoryName=null;						//카테고리명
	private String productSize=null;						//규격 			
	private String unitMeasureCode=null; 					//단위코드
	private String unitMasure=null;							//단위
	private BigDecimal unitPrice= new BigDecimal(0);		//단가
	private String attachedFileName=null; 					//첨부파일명
	private MultipartFile attachedFile=null;
	private int employeeCode=0; 						//사원코드
	private String employeeName=null;				 		//사원이름
	private String departmentCode=null;						//부서코드
	private String departmentName=null;						//부서명
	private String sellStartDate=null;      					//판매 시작일
	private String sellStopDate=null;							//판매완료일
	
	
	public int getProductNumber() {
		return productNumber;
	}
	public void setProductNumber(int productNumber) {
		this.productNumber = productNumber;
	}
	public String getProductCode() {
		return productCode;
	}
	public void setProductCode(String productCode) {
		this.productCode = productCode;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public String getItemCode() {
		return itemCode;
	}
	public void setItemCode(String itemCode) {
		this.itemCode = itemCode;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getCompanyCode() {
		return companyCode;
	}
	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}
	public String getCompanyName() {
		return companyName;
	}
	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	public String getCategoryName() {
		return categoryName;
	}
	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}
	public String getProductSize() {
		return productSize;
	}
	public void setProductSize(String productSize) {
		this.productSize = productSize;
	}
	public String getUnitMeasureCode() {
		return unitMeasureCode;
	}
	public void setUnitMeasureCode(String unitMeasureCode) {
		this.unitMeasureCode = unitMeasureCode;
	}
	public String getUnitMasure() {
		return unitMasure;
	}
	public void setUnitMasure(String unitMasure) {
		this.unitMasure = unitMasure;
	}
	public BigDecimal getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(BigDecimal i) {
		this.unitPrice = i;
	}
	public String getAttachedFileName() {
		return attachedFileName;
	}
	public void setAttachedFileName(String attachedFileName) {
		this.attachedFileName = attachedFileName;
	}
	public int getEmployeeCode() {
		return employeeCode;
	}
	public void setEmployeeCode(int employeeCode) {
		this.employeeCode = employeeCode;
	}
	public String getEmployeeName() {
		return employeeName;
	}
	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}
	public String getDepartmentCode() {
		return departmentCode;
	}
	public void setDepartmentCode(String departmentCode) {
		this.departmentCode = departmentCode;
	}
	public String getDepartmentName() {
		return departmentName;
	}
	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
	public String getSellStartDate() {
		return sellStartDate;
	}
	public void setSellStartDate(String sellStartDate) {
		this.sellStartDate = sellStartDate;
	}
	public String getSellStopDate() {
		return sellStopDate;
	}
	public void setSellStopDate(String sellStopDate) {
		this.sellStopDate = sellStopDate;
	}
	@Override
	public String toString() {
		return "PDT1010VO [productNumber=" + productNumber + ", productCode="
				+ productCode + ", productName=" + productName + ", itemCode="
				+ itemCode + ", itemName=" + itemName + ", companyCode="
				+ companyCode + ", companyName=" + companyName
				+ ", categoryCode=" + categoryCode + ", categoryName="
				+ categoryName + ", productSize=" + productSize
				+ ", unitMeasureCode=" + unitMeasureCode + ", unitMasure="
				+ unitMasure + ", unitPrice=" + unitPrice
				+ ", attachedFileName=" + attachedFileName + ", employeeCode="
				+ employeeCode + ", employeeName=" + employeeName
				+ ", departmentCode=" + departmentCode + ", departmentName="
				+ departmentName + ", sellStartDate=" + sellStartDate
				+ ", sellStopDate=" + sellStopDate + "]";
	}
	public MultipartFile getAttachedFile() {
		return attachedFile;
	}
	public void setAttachedFile(MultipartFile attachedFile) {
		this.attachedFile = attachedFile;
	}

}
